﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Provenance.Domain.Slaughter
{
    /// <summary>
    /// 屠宰信息表
    /// </summary>
    public class SlaughterInfo
    {
        [Key]
        public int SlaughterInfoId { get; set; }
        public int ProductInfoId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; } = string.Empty;
        /// <summary>
        /// 到厂均重
        /// </summary>
        public double AverageWeight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime FactoryTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterTime { get; set; }
    }
}
